import api from "./request";

// video列表
export const getTopMvs = (offset, limit = 10) =>
  api.get("/top/mv", {
    offset,
    limit,
  });

// 详情页--mv的url
export const getMvUrlById = (id, r = 1080) =>
  api.get("/mv/url", {
    id,
    r,
  });

// 详情页--mv数据
export const getMvDetailById = (id) =>
  api.get("/mv/detail", {
    mvid: id,
  });

// 详情页--mv相关数据
export const getMvRelatedDataById = (id) =>
  api.get("/related/allvideo", {
    id,
  });
